<!DOCTYPE html>
<html>
<head>
    <title>花田</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="keywords" content=""/>
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);

    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <link href="/themes/cpts_785_bhh/css/bootstrap.css" rel="stylesheet" type="text/css" media="all"/>
    <link href="/themes/cpts_785_bhh/css/style.css" rel="stylesheet" type="text/css" media="all"/>
    <!-- js -->
    <script type="text/javascript" src="/themes/cpts_785_bhh/js/jquery-2.1.4.min.js"></script>
    <!-- //js -->
    <!-- cart -->
    <script src="/themes/cpts_785_bhh/js/simpleCart.min.js"></script>
    <!-- cart -->
    <!-- for bootstrap working -->
    <script type="text/javascript" src="/themes/cpts_785_bhh/js/bootstrap-3.1.1.min.js"></script>
    <script src="/themes/cpts_785_bhh/js/jquery.easing.min.js"></script>
</head>
<body>
<#include "include/top.html"/>
<#--<div class="page-head">
    <div class="container">
        <h3>我的订单</h3>
    </div>
</div>-->
<!-- //banner -->
<!-- check out -->
<div class="checkout">
    <div class="container">
        <h3>My Shopping Bag</h3>
        <div class="table-responsive checkout-right animated wow slideInUp" data-wow-delay=".5s">
            <table class="timetable_sub">
                <thead>
                <tr>
                    <th>产品</th>
                    <th>下单时间</th>
                    <th>鲜花名称</th>
                    <th>价格</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                </thead>
            <#list orderList as item>

                <tr class="rem1">
                    <td style="width: 300px" class="invert-image"><a href="/goods/${item.goodsid}">
                        <img src="${item.goodsimg}" alt=" "
                             class="img-responsive"/></a></td>
                    <td class="invert">
                    ${item.addtime?string('yyyy-MM-dd HH:mm:ss')}
                    </td>
                    <td class="invert">${item.goodsname}</td>
                    <td class="invert">$${item.price}</td>
                    <td class="invert">${item.status!}</td>
                    <td class="invert">
                        <#if item.status == '未支付'>
                            <a href="/member/payOrder/${item.id}">支付</a>
                            <a href="/member/cancelOrder/${item.id}">取消</a>
                            <a href="/member/delOrder/${item.id}">删除</a>
                        </#if>
                    </td>
                </tr>
            </#list>
            </table>
        </div>
    </div>
</div>

<#include "include/foot.html"/>
</body>
</html>
